package com.ott.iot_client_demo.controller;

import com.ott.iot_client_demo.service.ComsumerQueueService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class HelloController {

    @Autowired
    private ComsumerQueueService comsumerQueueService;

    @RequestMapping("/")
    public String greeting() {
        comsumerQueueService.initServer();
        return "123";
    }
}
